package com.zichen.pr.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zichen.pr.common.core.domain.entity.SysDictType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: pr
 * @description: 字典 数据层
 * @author: rzhang
 * @create: 2021-04-01 16:39
 */
@Mapper
public interface SysDictTypeMapper extends BaseMapper<SysDictType> {

    /**
     * 根据条件分页查询字典类型
     *
     * @param dictType 字典类型信息
     * @return 字典类型集合信息
     */
    public List<SysDictType> selectDictTypeList(SysDictType dictType);

    /**
     * 根据所有字典类型
     *
     * @return 字典类型集合信息
     */
    public List<SysDictType> selectDictTypeAll();

}
